package com.sufen.common.enums;

public enum DateTypeEnum {

    DATE_YEAR("四位数年份","yyyy"),
    DATE_DEFAULT("四位数年份日期格式","yyyy-MM-dd"),
    DATE_DEFAULT_NUM("纯数字四位数年份日期","yyyyMMdd"),
    DATE_TIME_FULL("精确到毫秒的日期时间","yyyy-MM-dd hh:mm:ss sss"),
    DATE_TIME_FULL_NUM("纯数字精确到毫秒的日期时间","yyyyMMddHHmmssSSS"),
    DATE_TIME_DEFAULT("默认格式的日期时间","yyyy-MM-dd hh:mm:ss"),
    DATE_TIME_DEFAULT_NUM("纯数字默认的时间日期","yyyyMMddHHmmss");
    private String formatTemplate;
    private String formatName;
    DateTypeEnum(String formatName,String formatTemplate) {
        this.formatTemplate = formatTemplate;
        this.formatName = formatName;
    }
    public String getFormatTemplate() {
        return formatTemplate;
    }
}
